package com.example.mymatch.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Condition {
    private int conId;

    public int getConId() {
        return conId;
    }

    public void setConId(int conId) {
        this.conId = conId;
    }

    public int getPmDangid() {
        return pmDangid;
    }

    public void setPmDangid(int pmDangid) {
        this.pmDangid = pmDangid;
    }

    public Date getConDate() {
        return conDate;
    }

    public void setConDate(Date conDate) {
        this.conDate = conDate;
    }

    public String getConYing() {
        return conYing;
    }

    public void setConYing(String conYing) {
        this.conYing = conYing;
    }

    public String getConShi() {
        return conShi;
    }

    public void setConShi(String conShi) {
        this.conShi = conShi;
    }

    private int pmDangid;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date conDate;
    private String conYing;
    private String conShi;
}
